package com.jiming.webrpc.sys;

import com.alibaba.fastjson2.JSON;

public class ProcessObject {
	private ProcessResult processResult;

	public ProcessResult getProcessResult() {
		return processResult;
	}

	public ProcessObject setProcessResult(ProcessResult processResult) {
		this.processResult = processResult;
		return this;
	}
	
	public String toString() {
		return JSON.toJSONString(this);
	}
	
	public static ProcessObject newBuiled() {
		return new ProcessObject();
	}
	
	public static ProcessObject newBuiled(String json) {
		return JSON.parseObject(json, ProcessObject.class);
	}
	
	public ProcessObject builed() {
		return this;
	}
	
}
